<div ms-controller="DeptList" class="DeptList">
	<h1 class="title">公告管理</h1>
	<div class="DepListTop">
		<input type="text" placeholder="请输入关键字" ms-duplex="title" class="inputSize"/>
		<button class="btn1" ms-click="Dep">搜索</button>
		<button class="btnAdd" ms-click="newAnnouncement">新增公告</button>
	</div>
	<table class="table table-striped">
		<thead>
			<tr>
				<th>公告名称</th>
				<th>公告内容</th>
				<th>发布时间</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ms-repeat="list">
				<td>{{el.title}}</td>
				<td>{{el.content}}</td>
				<td>{{el.createtime|date("yyyy-MM-dd HH:mm:ss")}}</td>
				<td class="last">
					<div ms-click="lookDetail(el.mid)" class="first">
						<i class="iconfont">&#xe611;</i>
						<h1>查看</h1>
					</div>
					<div ms-click="removeDetail($index, $remove,el.mid)">
						<i class="iconfont">&#xe60d;</i>
						<h1>删除</h1>
					</div>
				</td>
			</tr>
		</tbody>
	</table>
	<img ms-src="change" />
    <div ms-include-src="paging">
    </div>
</div>

